package team.hyznrj.studentsys.enums;

import lombok.Getter;

/**
 * @author ReMidDream
 * @date 2018-04-23 15:11
 **/
@Getter
public enum MarkEnum {

    PARAMRMETER_ERROR(101,"参数错误!"),
    MARK_ERROR(102,"分数有误!"),
    COURSETITLE_ERROR(103,"学生课程成绩已存在!"),
    ;

    private Integer code;

    private String message;

    MarkEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}
